# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


# NOTE: This class is auto generated by the swagger code generator program.
# https://github.com/swagger-api/swagger-codegen.git
# Do not edit the class manually.

defmodule GoogleApi.CloudUserAccounts.Vm_alpha.Model.LinuxUserView do
  @moduledoc """
  A detailed view of a Linux user account.

  ## Attributes

  - gecos (String): [Output Only] The GECOS (user information) entry for this account. Defaults to: `null`.
  - gid (Integer): [Output Only] User&#39;s default group ID. Defaults to: `null`.
  - homeDirectory (String): [Output Only] The path to the home directory for this account. Defaults to: `null`.
  - shell (String): [Output Only] The path to the login shell for this account. Defaults to: `null`.
  - uid (Integer): [Output Only] User ID. Defaults to: `null`.
  - username (String): [Output Only] The username of the account. Defaults to: `null`.
  """

  defstruct [
    :"gecos",
    :"gid",
    :"homeDirectory",
    :"shell",
    :"uid",
    :"username"
  ]
end

defimpl Poison.Decoder, for: GoogleApi.CloudUserAccounts.Vm_alpha.Model.LinuxUserView do
  def decode(value, _options) do
    value
  end
end

defimpl Poison.Encoder, for: GoogleApi.CloudUserAccounts.Vm_alpha.Model.LinuxUserView do
  def encode(value, options) do
    GoogleApi.CloudUserAccounts.Vm_alpha.Deserializer.serialize_non_nil(value, options)
  end
end

